import request from '../../utils/request.js'

export function getLonginInfo(){
    return request({
        url: '/user/info',
        method: 'get'
    })
}

export function logout() {
    return request({
        url: '/user/logout',
        method: 'post'
    })
}

// 获取ai根据科目推荐的主页面视频
export function getAiRecommendHomeVideo(subject) {
    return request({
        url: '/aiChat/getHomeRecommendVideo?subject=' + subject,
        method: 'get'
    })
}